package xjtu.se.articlecommunity.common.dto;

public class CurrentUser {
    private String u_id;
    private String u_name;
    private String u_avatar;
    private int u_role;

    public CurrentUser() {
    }

    public CurrentUser(String u_id) {
        this.u_id = u_id;
    }

    public CurrentUser(String u_id, String u_name, String u_avatar, int u_role) {
        this.u_id = u_id;
        this.u_name = u_name;
        this.u_avatar = u_avatar;
        this.u_role = u_role;
    }

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_avatar() {
        return u_avatar;
    }

    public void setU_avatar(String u_avatar) {
        this.u_avatar = u_avatar;
    }

    public int getU_role() {
        return u_role;
    }

    public void setU_role(int u_role) {
        this.u_role = u_role;
    }
}
